/*
 * 电子面单模板
 */

function zthtml(zt){
	
var mianze = "快件送达收件人地址，经收件人或收件人（寄件人）允许的代收人签字，视为送达。您的签字代表您已验收此包裹，并已确认商品信息无误，包装完好、没有划痕、破损等表面质量问题。";
var kd_logo = "/Static/admin/img/zto.jpg";
var kdqrcode = "http://223.4.29.30/dayin/print_setup/cnimg/erweima.gif";
var qrcode = "http://223.4.29.30/dayin/servlet/qrcode?content=http://shop61528499.taobao.com&swidth=60";
var tiaoma1 = "http://223.4.29.30/dayin/servlet/CreateBarCode?code="+zt.express_no+"&barType=CODE128&Code128Set=0&st=no&topMarginCM=0&leftMarginCM=0&x=0.06&barHeightCM=1.5";
var tiaoma2 = "http://223.4.29.30/dayin/servlet/CreateBarCode?code="+zt.express_no+"&barType=CODE128&Code128Set=0&st=no&topMarginCM=0&leftMarginCM=0&x=0.06&barHeightCM=0.9";

var d = new Date();
var riqi = d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate()+" "+d.getHours()+":"+d.getMinutes()+":"+d.getSeconds();//时间


var zhongtong = "<META http-equiv=Content-Type content='text/html; charset=UTF-8'>"+
"<BODY  topMargin='0' leftMargin='0' bgcolor='#FFFFFF'>"+
"<META http-equiv=Content-Type content='text/html; charset=UTF-8'>"+
"<table id='html_table' border='0' height='667pt' style='position:relative;'>"+
"<tr><td>&nbsp;<span style='position:absolute;left:1pt;top:29pt;width:275pt;height:1pt;border-top:#000000 solid 1px'></span>"+
"<span style='position:absolute;left:1pt;top:71pt;width:275pt;height:1pt;border-top:#000000 solid 1px'></span>"+
"<span style='position:absolute;left:18pt;top:153pt;width:119pt;height:9pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>"+FAHUO_CONTACT+"</span>"+
"<span style='position:absolute;left:2pt;top:158pt;width:11pt;height:24pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>寄件</span>" +
"<span style='position:absolute;left:143pt;top:153pt;width:64pt;height:12pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>"+FAHUO_TEL+"</span>" +
"<span style='position:absolute;left:1pt;top:99pt;width:275pt;height:1pt;border-top:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:212pt;top:100pt;width:1pt;height:83pt;border-left:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:18pt;top:165pt;width:191pt;height:16pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>"+FAHUO_ADDRESS+"</span>" +
"<span style='position:absolute;left:2pt;top:116pt;width:11pt;height:20pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>收件</span>" +
"<span style='position:absolute;left:18pt;top:103pt;width:58pt;height:12pt;font-family:黑体;font-size:9pt;font-weight:bold;text-align:left'>"+zt.delivery_name+"</span>" +
"<span style='position:absolute;left:78pt;top:103pt;width:59pt;height:12pt;font-family:黑体;font-size:9pt;font-weight:bold;text-align:left'></span>" +
"<span style='position:absolute;left:140pt;top:103pt;width:70pt;height:12pt;font-family:黑体;font-size:9pt;font-weight:bold;text-align:left'>"+zt.delivery_mobile+"</span>" +
"<span style='position:absolute;left:18pt;top:116pt;width:188pt;height:32pt;font-family:黑体;font-size:9pt;font-weight:bold;text-align:left'>"+zt.address_datouzi+zt.address_detail+"</span>" +
"<span style='position:absolute;left:1pt;top:150pt;width:212pt;height:1pt;border-top:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:1pt;top:257pt;width:275pt;height:1pt;border-top:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:1pt;top:182pt;width:275pt;height:1pt;border-top:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:1pt;top:355pt;width:275pt;height:1pt;border-top:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:2pt;top:398pt;width:11pt;height:17pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>寄件</span>" +
"<span style='position:absolute;left:162pt;top:393pt;width:57pt;height:11pt;font-family:黑体;font-size:7pt;font-weight:normal;text-align:left'>"+FAHUO_TEL+"</span>" +
"<span style='position:absolute;left:18pt;top:404pt;width:201pt;height:17pt;font-family:黑体;font-size:7pt;font-weight:normal;text-align:left'>"+FAHUO_ADDRESS+"</span>" +
"<span style='position:absolute;left:2pt;top:365pt;width:8pt;height:18pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>收件</span>" +
"<span style='position:absolute;left:18pt;top:358pt;width:56pt;height:12pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>"+zt.delivery_name+"</span>" +
"<span style='position:absolute;left:78pt;top:358pt;width:65pt;height:12pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'></span>" +
"<span style='position:absolute;left:146pt;top:358pt;width:74pt;height:12pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>"+zt.delivery_mobile+"</span>" +
"<span style='position:absolute;left:18pt;top:368pt;width:202pt;height:18pt;font-family:黑体;font-size:8pt;font-weight:normal;text-align:left'>"+zt.address_datouzi+zt.address_detail+"</span>" +
"<span style='position:absolute;left:1pt;top:423pt;width:275pt;height:1pt;border-top:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:238pt;top:104pt;width:23pt;height:11pt;font-family:黑体;font-size:8pt;text-align:left'>服务</span>" +
"<span style='position:absolute;left:212pt;top:116pt;width:63pt;height:1pt;border-top:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:1pt;top:262pt;width:123pt;height:40pt;font-family:新宋体;font-size:7pt;font-weight:normal;text-align:center'>"+mianze+"</span>" +
"<span style='position:absolute;left:130pt;top:261pt;width:37pt;height:13pt;font-family:黑体;font-size:9pt;font-weight:normal;text-align:left'>签收人:</span>" +
"<span style='position:absolute;left:130pt;top:283pt;width:31pt;height:11pt;font-family:黑体;font-size:9pt;font-weight:normal;text-align:left'>时间:</span>" +
"<span style='position:absolute;left:239pt;top:488pt;width:33pt;height:11pt;font-family:黑体;font-size:9pt;font-weight:bold;text-align:left'>已验视</span>" +
"<span style='position:absolute;left:1pt;top:389pt;width:224pt;height:1pt;border-top:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:15pt;top:100pt;width:1pt;height:83pt;border-left:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:15pt;top:355pt;width:1pt;height:68pt;border-left:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:126pt;top:257pt;width:1pt;height:52pt;border-left:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:1pt;top:309pt;width:275pt;height:1pt;border-top:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:217pt;top:257pt;width:1pt;height:52pt;border-left:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:224pt;top:355pt;width:1pt;height:68pt;border-left:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:230pt;top:360pt'>" +
"<img src='"+kdqrcode+"' style='width:45pt;height:45pt'></span>" +
"<span style='position:absolute;left:230pt;top:408pt;font-family:宋体;font-size:7pt;text-align:center;width:45pt;'>" +
"微信扫一扫 </span>" +

"<span style='position:absolute;left:18pt;top:393pt;width:139pt;height:10pt;font-family:黑体;font-size:7pt;font-weight:normal;text-align:left'>"+FAHUO_CONTACT+"</span>" +
"<span style='position:absolute;left:53pt;top:189pt'>" +
"<img src="+tiaoma1+" id=bar_image></span>" +
"<span style='position:absolute;left:140pt;top:320pt;'>" +
"<img src="+tiaoma2+" id=bar_image style='width:120pt;'></span>" +
"<span style='position:absolute;left:68pt;top:237pt;width:123pt;height:14pt;font-family:黑体;font-size:11pt;font-weight:bold;text-align:center'>"+zt.express_no+"</span>" +
"<span style='position:absolute;left:135pt;top:342pt;width:124pt;height:11pt;font-family:黑体;font-size:9pt;font-weight:bold;text-align:center'>"+zt.express_no+"</span>" +
"<span style='position:absolute;left:201pt;top:5pt;width:74pt;height:17pt;font-family:黑体;font-size:14pt;font-weight:bold;text-align:left'>特快</span>" +
"<span style='position:absolute;left:215pt;top:119pt;width:59pt;height:60pt;font-family:黑体;font-size:7pt;font-weight:normal;text-align:left'></span>" +
"<span style='position:absolute;left:215pt;top:129pt;width:59pt;height:60pt;font-family:黑体;font-size:7pt;font-weight:normal;text-align:left'></span>" +
"<span style='position:absolute;left:215pt;top:140pt;width:59pt;height:60pt;font-family:黑体;font-size:7pt;font-weight:normal;text-align:left'></span>" +
"<span style='position:absolute;left:215pt;top:150pt;width:59pt;height:60pt;font-family:黑体;font-size:7pt;font-weight:normal;text-align:left'></span>" +
"<span style='position:absolute;left:15pt;top:38pt;width:271pt;height:32pt;font-family:黑体;font-size:26pt;font-weight:bold;text-align:left'>"+zt.address_datouzi+"</span>" +
"<span style='position:absolute;left:179pt;top:76pt;width:18pt;height:18pt;font-family:黑体;font-size:8pt;text-align:left'>打印日期</span>" +
"<span style='position:absolute;left:200pt;top:75pt;width:75pt;height:11pt;font-family:黑体;font-size:8pt;text-align:left'>"+riqi+"</span>" +
"<span style='position:absolute;left:173pt;top:71pt;width:1pt;height:28pt;border-left:#000000 solid 1px'></span>" +
"<span style='position:absolute;left:14pt;top:435pt;width:200pt;height:11pt;font-family:黑体;font-size:8pt;text-align:left'>客户备注:"+zt.khnote+"<br><br>商家备注:"+FAHUO_NOTE+"</span>" +
"<span style='position:absolute;left:224pt;top:262pt;width:50pt;height:50pt'>" +
"<img src='"+qrcode+"'  id='bar_image'></span>" +
"<span style='position:absolute;left:6pt;top:319pt'>" +
"<img src='"+kd_logo+"' width=150 height=37></span>" +
"<span style='position:absolute;left:6pt;top:5pt'>" +
"<img src='"+kd_logo+"' width=150 height=30></span></td></tr></table>"+
"</BODY>";

return zhongtong;

}